<!DOCTYPE html>
<html lang="cn">
<head>
  <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
<meta name="theme-color" content="#222">
<meta name="generator" content="Hexo 6.3.0">
  <link rel="apple-touch-icon" sizes="180x180" href="/every-float-blog/images/apple-touch-icon-next.png">
  <link rel="icon" type="image/png" sizes="32x32" href="/every-float-blog/images/favicon-32x32-next.png">
  <link rel="icon" type="image/png" sizes="16x16" href="/every-float-blog/images/favicon-16x16-next.png">
  <link rel="mask-icon" href="/every-float-blog/images/logo.svg" color="#222">

<link rel="stylesheet" href="/every-float-blog/css/main.css">


<link rel="stylesheet" href="/every-float-blog/lib/font-awesome/css/all.min.css">

<script id="hexo-configurations">
    var NexT = window.NexT || {};
    var CONFIG = {"hostname":"everyfloat.gitee.io","root":"/every-float-blog/","scheme":"Muse","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":false,"show_result":false,"style":null},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":false,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}}};
  </script>

  <meta property="og:type" content="website">
<meta property="og:title" content="every-float-blog">
<meta property="og:url" content="https://everyfloat.gitee.io/every-float-blog/index.html">
<meta property="og:site_name" content="every-float-blog">
<meta property="og:locale">
<meta property="article:author" content="Every Float">
<meta name="twitter:card" content="summary">

<link rel="canonical" href="https://everyfloat.gitee.io/every-float-blog/">


<script id="page-configurations">
  // https://hexo.io/docs/variables.html
  CONFIG.page = {
    sidebar: "",
    isHome : true,
    isPost : false,
    lang   : 'cn'
  };
</script>

  <title>every-float-blog</title>
  






  <noscript>
  <style>
  .use-motion .brand,
  .use-motion .menu-item,
  .sidebar-inner,
  .use-motion .post-block,
  .use-motion .pagination,
  .use-motion .comments,
  .use-motion .post-header,
  .use-motion .post-body,
  .use-motion .collection-header { opacity: initial; }

  .use-motion .site-title,
  .use-motion .site-subtitle {
    opacity: initial;
    top: initial;
  }

  .use-motion .logo-line-before i { left: initial; }
  .use-motion .logo-line-after i { right: initial; }
  </style>
</noscript>

</head>

<body itemscope itemtype="http://schema.org/WebPage">
  <div class="container use-motion">
    <div class="headband"></div>

    <header class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-container">
  <div class="site-nav-toggle">
    <div class="toggle" aria-label="Navigationsleiste an/ausschalten">
      <span class="toggle-line toggle-line-first"></span>
      <span class="toggle-line toggle-line-middle"></span>
      <span class="toggle-line toggle-line-last"></span>
    </div>
  </div>

  <div class="site-meta">

    <a href="/every-float-blog/" class="brand" rel="start">
      <span class="logo-line-before"><i></i></span>
      <h1 class="site-title">every-float-blog</h1>
      <span class="logo-line-after"><i></i></span>
    </a>
  </div>

  <div class="site-nav-right">
    <div class="toggle popup-trigger">
    </div>
  </div>
</div>




<nav class="site-nav">
  <ul id="menu" class="main-menu menu">
        <li class="menu-item menu-item-home">

    <a href="/every-float-blog/" rel="section"><i class="fa fa-home fa-fw"></i>Startseite</a>

  </li>
        <li class="menu-item menu-item-archives">

    <a href="/every-float-blog/archives/" rel="section"><i class="fa fa-archive fa-fw"></i>Archiv</a>

  </li>
  </ul>
</nav>




</div>
    </header>

    
  <div class="back-to-top">
    <i class="fa fa-arrow-up"></i>
    <span>0%</span>
  </div>


    <main class="main">
      <div class="main-inner">
        <div class="content-wrap">
          

          <div class="content index posts-expand">
            
      
  
  
  <article itemscope itemtype="http://schema.org/Article" class="post-block" lang="cn">
    <link itemprop="mainEntityOfPage" href="https://everyfloat.gitee.io/every-float-blog/2023/03/27/addModal%E7%9A%84%E5%9F%BA%E6%9C%AC%E6%A8%A1%E6%9D%BF%E5%A4%87%E4%BB%BD/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/every-float-blog/images/avatar.gif">
      <meta itemprop="name" content="Every Float">
      <meta itemprop="description" content="">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="every-float-blog">
    </span>
      <header class="post-header">
        <h2 class="post-title" itemprop="name headline">
          
            <a href="/every-float-blog/2023/03/27/addModal%E7%9A%84%E5%9F%BA%E6%9C%AC%E6%A8%A1%E6%9D%BF%E5%A4%87%E4%BB%BD/" class="post-title-link" itemprop="url">Unbenannt</a>
        </h2>

        <div class="post-meta">
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-calendar"></i>
              </span>
              <span class="post-meta-item-text">Veröffentlicht am</span>
              

              <time title="Erstellt: 2023-03-27 00:33:23 / Geändert am: 00:33:26" itemprop="dateCreated datePublished" datetime="2023-03-27T00:33:23+08:00">2023-03-27</time>
            </span>

          

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">

      
          <figure class="highlight plaintext"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br><span class="line">43</span><br><span class="line">44</span><br><span class="line">45</span><br><span class="line">46</span><br><span class="line">47</span><br><span class="line">48</span><br><span class="line">49</span><br><span class="line">50</span><br><span class="line">51</span><br><span class="line">52</span><br><span class="line">53</span><br><span class="line">54</span><br><span class="line">55</span><br><span class="line">56</span><br><span class="line">57</span><br><span class="line">58</span><br><span class="line">59</span><br><span class="line">60</span><br><span class="line">61</span><br><span class="line">62</span><br><span class="line">63</span><br><span class="line">64</span><br><span class="line">65</span><br><span class="line">66</span><br><span class="line">67</span><br><span class="line">68</span><br><span class="line">69</span><br><span class="line">70</span><br><span class="line">71</span><br><span class="line">72</span><br><span class="line">73</span><br><span class="line">74</span><br><span class="line">75</span><br><span class="line">76</span><br><span class="line">77</span><br><span class="line">78</span><br><span class="line">79</span><br><span class="line">80</span><br><span class="line">81</span><br><span class="line">82</span><br><span class="line">83</span><br><span class="line">84</span><br><span class="line">85</span><br><span class="line">86</span><br><span class="line">87</span><br><span class="line">88</span><br><span class="line">89</span><br><span class="line">90</span><br><span class="line">91</span><br><span class="line">92</span><br><span class="line">93</span><br><span class="line">94</span><br><span class="line">95</span><br><span class="line">96</span><br><span class="line">97</span><br><span class="line">98</span><br><span class="line">99</span><br><span class="line">100</span><br><span class="line">101</span><br><span class="line">102</span><br><span class="line">103</span><br><span class="line">104</span><br><span class="line">105</span><br><span class="line">106</span><br><span class="line">107</span><br><span class="line">108</span><br><span class="line">109</span><br><span class="line">110</span><br><span class="line">111</span><br><span class="line">112</span><br><span class="line">113</span><br><span class="line">114</span><br><span class="line">115</span><br><span class="line">116</span><br><span class="line">117</span><br><span class="line">118</span><br><span class="line">119</span><br><span class="line">120</span><br><span class="line">121</span><br><span class="line">122</span><br><span class="line">123</span><br><span class="line">124</span><br><span class="line">125</span><br><span class="line">126</span><br><span class="line">127</span><br><span class="line">128</span><br><span class="line">129</span><br><span class="line">130</span><br><span class="line">131</span><br><span class="line">132</span><br><span class="line">133</span><br><span class="line">134</span><br><span class="line">135</span><br><span class="line">136</span><br><span class="line">137</span><br><span class="line">138</span><br><span class="line">139</span><br><span class="line">140</span><br><span class="line">141</span><br><span class="line">142</span><br><span class="line">143</span><br><span class="line">144</span><br><span class="line">145</span><br><span class="line">146</span><br><span class="line">147</span><br><span class="line">148</span><br><span class="line">149</span><br><span class="line">150</span><br><span class="line">151</span><br><span class="line">152</span><br><span class="line">153</span><br><span class="line">154</span><br><span class="line">155</span><br><span class="line">156</span><br><span class="line">157</span><br><span class="line">158</span><br><span class="line">159</span><br><span class="line">160</span><br><span class="line">161</span><br><span class="line">162</span><br><span class="line">163</span><br><span class="line">164</span><br><span class="line">165</span><br><span class="line">166</span><br><span class="line">167</span><br><span class="line">168</span><br><span class="line">169</span><br><span class="line">170</span><br><span class="line">171</span><br><span class="line">172</span><br><span class="line">173</span><br><span class="line">174</span><br><span class="line">175</span><br><span class="line">176</span><br><span class="line">177</span><br><span class="line">178</span><br><span class="line">179</span><br><span class="line">180</span><br><span class="line">181</span><br><span class="line">182</span><br><span class="line">183</span><br><span class="line">184</span><br><span class="line">185</span><br><span class="line">186</span><br><span class="line">187</span><br><span class="line">188</span><br><span class="line">189</span><br><span class="line">190</span><br><span class="line">191</span><br><span class="line">192</span><br><span class="line">193</span><br><span class="line">194</span><br><span class="line">195</span><br><span class="line">196</span><br><span class="line">197</span><br><span class="line">198</span><br><span class="line">199</span><br><span class="line">200</span><br><span class="line">201</span><br><span class="line">202</span><br><span class="line">203</span><br><span class="line">204</span><br><span class="line">205</span><br><span class="line">206</span><br><span class="line">207</span><br><span class="line">208</span><br><span class="line">209</span><br><span class="line">210</span><br><span class="line">211</span><br><span class="line">212</span><br><span class="line">213</span><br><span class="line">214</span><br><span class="line">215</span><br><span class="line">216</span><br><span class="line">217</span><br><span class="line">218</span><br><span class="line">219</span><br><span class="line">220</span><br><span class="line">221</span><br><span class="line">222</span><br><span class="line">223</span><br><span class="line">224</span><br><span class="line">225</span><br><span class="line">226</span><br><span class="line">227</span><br><span class="line">228</span><br><span class="line">229</span><br><span class="line">230</span><br><span class="line">231</span><br><span class="line">232</span><br><span class="line">233</span><br><span class="line">234</span><br><span class="line">235</span><br><span class="line">236</span><br><span class="line">237</span><br><span class="line">238</span><br><span class="line">239</span><br><span class="line">240</span><br><span class="line">241</span><br><span class="line">242</span><br><span class="line">243</span><br><span class="line">244</span><br><span class="line">245</span><br><span class="line">246</span><br><span class="line">247</span><br><span class="line">248</span><br><span class="line">249</span><br><span class="line">250</span><br><span class="line">251</span><br><span class="line">252</span><br><span class="line">253</span><br><span class="line">254</span><br><span class="line">255</span><br><span class="line">256</span><br><span class="line">257</span><br><span class="line">258</span><br><span class="line">259</span><br><span class="line">260</span><br><span class="line">261</span><br><span class="line">262</span><br><span class="line">263</span><br><span class="line">264</span><br><span class="line">265</span><br><span class="line">266</span><br><span class="line">267</span><br><span class="line">268</span><br><span class="line">269</span><br><span class="line">270</span><br><span class="line">271</span><br><span class="line">272</span><br><span class="line">273</span><br><span class="line">274</span><br><span class="line">275</span><br><span class="line">276</span><br><span class="line">277</span><br><span class="line">278</span><br><span class="line">279</span><br><span class="line">280</span><br><span class="line">281</span><br><span class="line">282</span><br><span class="line">283</span><br><span class="line">284</span><br><span class="line">285</span><br><span class="line">286</span><br><span class="line">287</span><br><span class="line">288</span><br><span class="line">289</span><br><span class="line">290</span><br><span class="line">291</span><br><span class="line">292</span><br><span class="line">293</span><br><span class="line">294</span><br><span class="line">295</span><br><span class="line">296</span><br><span class="line">297</span><br><span class="line">298</span><br><span class="line">299</span><br><span class="line">300</span><br><span class="line">301</span><br><span class="line">302</span><br><span class="line">303</span><br><span class="line">304</span><br><span class="line">305</span><br><span class="line">306</span><br><span class="line">307</span><br><span class="line">308</span><br><span class="line">309</span><br><span class="line">310</span><br><span class="line">311</span><br><span class="line">312</span><br><span class="line">313</span><br><span class="line">314</span><br><span class="line">315</span><br><span class="line">316</span><br><span class="line">317</span><br><span class="line">318</span><br><span class="line">319</span><br><span class="line">320</span><br><span class="line">321</span><br><span class="line">322</span><br><span class="line">323</span><br><span class="line">324</span><br><span class="line">325</span><br><span class="line">326</span><br><span class="line">327</span><br><span class="line">328</span><br><span class="line">329</span><br><span class="line">330</span><br><span class="line">331</span><br><span class="line">332</span><br><span class="line">333</span><br><span class="line">334</span><br><span class="line">335</span><br><span class="line">336</span><br><span class="line">337</span><br><span class="line">338</span><br><span class="line">339</span><br><span class="line">340</span><br><span class="line">341</span><br><span class="line">342</span><br><span class="line">343</span><br><span class="line">344</span><br><span class="line">345</span><br><span class="line">346</span><br><span class="line">347</span><br><span class="line">348</span><br><span class="line">349</span><br><span class="line">350</span><br><span class="line">351</span><br><span class="line">352</span><br><span class="line">353</span><br><span class="line">354</span><br><span class="line">355</span><br><span class="line">356</span><br><span class="line">357</span><br><span class="line">358</span><br><span class="line">359</span><br><span class="line">360</span><br><span class="line">361</span><br><span class="line">362</span><br><span class="line">363</span><br><span class="line">364</span><br><span class="line">365</span><br><span class="line">366</span><br><span class="line">367</span><br><span class="line">368</span><br><span class="line">369</span><br></pre></td><td class="code"><pre><span class="line">&lt;template&gt;</span><br><span class="line">  &lt;div id=&quot;addModal&quot;&gt;</span><br><span class="line">    &lt;a-modal</span><br><span class="line">      :title=&quot;title&quot;</span><br><span class="line">      wrapClassName=&quot;addModal&quot;</span><br><span class="line">      :maskClosable=&quot;false&quot;</span><br><span class="line">      :visible=&quot;visible&quot;</span><br><span class="line">      :destroyOnClose=&quot;true&quot;</span><br><span class="line">      @cancel=&quot;handleCancel()&quot;</span><br><span class="line">      :footer=&quot;null&quot;</span><br><span class="line">      width=&quot;860px&quot;</span><br><span class="line">    &gt;</span><br><span class="line">      &lt;div class=&quot;scroll&quot; @scroll=&quot;handleScrollChange&quot;&gt;</span><br><span class="line">        &lt;a-form-model</span><br><span class="line">          ref=&quot;ruleForm&quot;</span><br><span class="line">          layout=&quot;horizontal&quot;</span><br><span class="line">          :model=&quot;form&quot;</span><br><span class="line">          :rules=&quot;rules&quot;</span><br><span class="line">        &gt;</span><br><span class="line">          &lt;div class=&quot;row&quot;&gt;</span><br><span class="line">            &lt;a-form-model-item</span><br><span class="line">              label=&quot;名称&quot;</span><br><span class="line">              ref=&quot;name&quot;</span><br><span class="line">              prop=&quot;name&quot;</span><br><span class="line">            &gt;</span><br><span class="line">              &lt;a-input</span><br><span class="line">                size=&quot;large&quot;</span><br><span class="line">                v-model=&quot;form.name&quot;</span><br><span class="line">                class=&quot;input&quot;</span><br><span class="line">                placeholder=&quot;请输入名称&quot;</span><br><span class="line">              &gt;&lt;/a-input&gt;</span><br><span class="line">            &lt;/a-form-model-item&gt;</span><br><span class="line">          &lt;/div&gt;</span><br><span class="line">        &lt;/a-form-model&gt;</span><br><span class="line">      &lt;/div&gt;</span><br><span class="line">      &lt;div class=&quot;hint&quot;&gt;&#123;&#123; hintText &#125;&#125;&lt;/div&gt;</span><br><span class="line">      &lt;div class=&quot;submit-con&quot;&gt;</span><br><span class="line">        &lt;a-button</span><br><span class="line">          type=&quot;primary&quot;</span><br><span class="line">          icon=&quot;close-circle&quot;</span><br><span class="line">          ghost</span><br><span class="line">          @click=&quot;handleCancel()&quot;</span><br><span class="line">          class=&quot;cancel&quot;</span><br><span class="line">        &gt;</span><br><span class="line">          取消退出</span><br><span class="line">        &lt;/a-button&gt;</span><br><span class="line">        &lt;a-button</span><br><span class="line">          type=&quot;primary&quot;</span><br><span class="line">          icon=&quot;check-circle&quot;</span><br><span class="line">          @click=&quot;save()&quot;</span><br><span class="line">          class=&quot;issue&quot;</span><br><span class="line">        &gt;</span><br><span class="line">          保存</span><br><span class="line">        &lt;/a-button&gt;</span><br><span class="line">      &lt;/div&gt;</span><br><span class="line">    &lt;/a-modal&gt;</span><br><span class="line">  &lt;/div&gt;</span><br><span class="line">&lt;/template&gt;</span><br><span class="line"></span><br><span class="line">&lt;script&gt;</span><br><span class="line">import &#123; message, TreeSelect &#125; from &quot;ant-design-vue&quot;;</span><br><span class="line">import api from &quot;@/util/api&quot;;</span><br><span class="line">import _ from &quot;lodash&quot;;</span><br><span class="line"></span><br><span class="line">export default &#123;</span><br><span class="line">  props: &#123;</span><br><span class="line">    title: &#123;</span><br><span class="line">      type: String</span><br><span class="line">    &#125;,</span><br><span class="line">    detail: &#123;</span><br><span class="line">      type: Object</span><br><span class="line">    &#125;,</span><br><span class="line">    refresh: &#123;</span><br><span class="line">      type: Function</span><br><span class="line">    &#125;</span><br><span class="line">  &#125;,</span><br><span class="line">  data() &#123;</span><br><span class="line">    return &#123;</span><br><span class="line">      hintText: &quot;&quot;,</span><br><span class="line">      visible: false,</span><br><span class="line">      rules: &#123;</span><br><span class="line">        name: [</span><br><span class="line">          &#123;</span><br><span class="line">            required: true,</span><br><span class="line">            message: &quot;名称为必填项&quot;,</span><br><span class="line">            trigger: [&quot;change&quot;, &quot;blur&quot;]</span><br><span class="line">          &#125;</span><br><span class="line">        ]</span><br><span class="line">        // ...</span><br><span class="line">      &#125;,</span><br><span class="line">      form: &#123;</span><br><span class="line">        name: &quot;&quot;</span><br><span class="line">      &#125;</span><br><span class="line">    &#125;;</span><br><span class="line">  &#125;,</span><br><span class="line">  watch: &#123;</span><br><span class="line">    visible(val) &#123;</span><br><span class="line">      if (!val) &#123;</span><br><span class="line">        this.resetForm();</span><br><span class="line">      &#125;</span><br><span class="line">    &#125;,</span><br><span class="line">    detail: &#123;</span><br><span class="line">      handler(val) &#123;</span><br><span class="line">        if (val) &#123;</span><br><span class="line">          for (const key in val) &#123;</span><br><span class="line">            if (Object.hasOwnProperty.call(val, key)) &#123;</span><br><span class="line">              this.form[key] = val[key];</span><br><span class="line">            &#125;</span><br><span class="line">          &#125;</span><br><span class="line">        &#125;</span><br><span class="line">      &#125;,</span><br><span class="line">      deep: true,</span><br><span class="line">      immediate: true</span><br><span class="line">    &#125;</span><br><span class="line">  &#125;,</span><br><span class="line">  methods: &#123;</span><br><span class="line">    save() &#123;</span><br><span class="line">      this.$refs.ruleForm.validate(valid =&gt; &#123;</span><br><span class="line">        if (valid) &#123;</span><br><span class="line">          const params = _.cloneDeep(this.form);</span><br><span class="line">          // 在这里进行参数值的二次处理</span><br><span class="line"></span><br><span class="line">          // console.log(params);</span><br><span class="line">          if (!this.detail.id) &#123;</span><br><span class="line">            this.add(params);</span><br><span class="line">          &#125; else &#123;</span><br><span class="line">            this.edit(params);</span><br><span class="line">          &#125;</span><br><span class="line">        &#125; else &#123;</span><br><span class="line">          return false;</span><br><span class="line">        &#125;</span><br><span class="line">      &#125;);</span><br><span class="line">    &#125;,</span><br><span class="line">    add(params) &#123;</span><br><span class="line">      api.post(&quot;/api/cbb-bridge/waringTemplate&quot;, params).then(() =&gt; &#123;</span><br><span class="line">        this.visible = false;</span><br><span class="line">        this.refresh();</span><br><span class="line">        message.success(&quot;新增成功&quot;);</span><br><span class="line">      &#125;);</span><br><span class="line">    &#125;,</span><br><span class="line">    edit(params) &#123;</span><br><span class="line">      params.id = this.detail.id;</span><br><span class="line">      api.post(&quot;/api/cbb-bridge/waringTemplate&quot;, params).then(() =&gt; &#123;</span><br><span class="line">        this.visible = false;</span><br><span class="line">        this.refresh();</span><br><span class="line">        message.success(&quot;编辑成功&quot;);</span><br><span class="line">      &#125;);</span><br><span class="line">    &#125;,</span><br><span class="line">    resetForm() &#123;</span><br><span class="line">      this.form = &#123;</span><br><span class="line">        name: &quot;&quot;,</span><br><span class="line">      &#125;;</span><br><span class="line">    &#125;,</span><br><span class="line">    handleCancel() &#123;</span><br><span class="line">      this.visible = false;</span><br><span class="line">    &#125;,</span><br><span class="line">    handleScrollChange() &#123;</span><br><span class="line">      const scrollTop = document.getElementsByClassName(&quot;scroll&quot;)[0].scrollTop;</span><br><span class="line">      const scrollHeight =</span><br><span class="line">        document.getElementsByClassName(&quot;scroll&quot;)[0].scrollHeight - 460;</span><br><span class="line">      this.hintText =</span><br><span class="line">        scrollTop &gt; scrollHeight ? &quot;没有更多内容了&quot; : &quot;向下滚动更多&quot;;</span><br><span class="line">    &#125;,</span><br><span class="line">  &#125;</span><br><span class="line">&#125;;</span><br><span class="line">&lt;/script&gt;</span><br><span class="line"></span><br><span class="line">&lt;style lang=&quot;scss&quot; scoped&gt;</span><br><span class="line">/deep/ &#123;</span><br><span class="line">  .el-scrollbar__wrap &#123;</span><br><span class="line">    overflow: scroll;</span><br><span class="line">    overflow-x: auto;</span><br><span class="line">  &#125;</span><br><span class="line">  .addModal &#123;</span><br><span class="line">    textarea.ant-input &#123;</span><br><span class="line">      height: 90px;</span><br><span class="line">    &#125;</span><br><span class="line">    .cus-template-shortkeys &#123;</span><br><span class="line">      width: 100%;</span><br><span class="line">      min-height: 75px;</span><br><span class="line">      display: flex;</span><br><span class="line">      justify-content: center;</span><br><span class="line">      align-items: center;</span><br><span class="line">      margin-bottom: 24px;</span><br><span class="line">      border: 1px dashed #afafaf;</span><br><span class="line">      background-color: rgba(0, 0, 0, 0.05);</span><br><span class="line"></span><br><span class="line">      .ant-btn &#123;</span><br><span class="line">        &amp;.ant-btn-primary &#123;</span><br><span class="line">          margin: 0 5px;</span><br><span class="line">        &#125;</span><br><span class="line">      &#125;</span><br><span class="line">    &#125;</span><br><span class="line">    .ant-select-selection__rendered &#123;</span><br><span class="line">      height: 40px;</span><br><span class="line">      line-height: 40px;</span><br><span class="line">    &#125;</span><br><span class="line">    .el-table__body-wrapper &#123;</span><br><span class="line">      height: calc(100% - 50px) !important;</span><br><span class="line">      .is-center &#123;</span><br><span class="line">        background: white;</span><br><span class="line">      &#125;</span><br><span class="line">    &#125;</span><br><span class="line">    .ant-modal-body &#123;</span><br><span class="line">      padding: 8px 0 64px 0;</span><br><span class="line">    &#125;</span><br><span class="line">    .el-table-column--selection &#123;</span><br><span class="line">      text-align: center;</span><br><span class="line">      .cell &#123;</span><br><span class="line">        padding: 0 !important;</span><br><span class="line">      &#125;</span><br><span class="line">    &#125;</span><br><span class="line">    .scroll &#123;</span><br><span class="line">      padding: 0 80px;</span><br><span class="line">      height: 450px;</span><br><span class="line">      overflow-y: scroll;</span><br><span class="line">    &#125;</span><br><span class="line">    .segmentation-img &#123;</span><br><span class="line">      display: flex;</span><br><span class="line">      justify-content: center;</span><br><span class="line">      height: 260px;</span><br><span class="line">      flex-direction: column;</span><br><span class="line">      .btn &#123;</span><br><span class="line">        display: block;</span><br><span class="line">        width: 25px;</span><br><span class="line">        height: 20px;</span><br><span class="line">        display: flex;</span><br><span class="line">        align-items: center;</span><br><span class="line">        justify-content: center;</span><br><span class="line">        padding: 0px;</span><br><span class="line">        margin: 8px 0;</span><br><span class="line">        font-size: 12px;</span><br><span class="line">        // width: 14px;</span><br><span class="line">        // height: 14px;</span><br><span class="line">        // cursor: pointer;</span><br><span class="line">      &#125;</span><br><span class="line">    &#125;</span><br><span class="line">    .row &#123;</span><br><span class="line">      width: 100%;</span><br><span class="line">      display: flex;</span><br><span class="line">      justify-content: space-between;</span><br><span class="line"></span><br><span class="line">      // treeSelect样式单独处理</span><br><span class="line">      &amp;.cus-treeselect-form &#123;</span><br><span class="line">        .ant-select-selection--multiple &#123;</span><br><span class="line">          .ant-select-selection__rendered &#123;</span><br><span class="line">            min-height: 40px;</span><br><span class="line">            height: auto !important;</span><br><span class="line">            line-height: normal !important;</span><br><span class="line">            display: flex;</span><br><span class="line">            align-items: center;</span><br><span class="line">            flex-wrap: wrap;</span><br><span class="line">            padding: 5px;</span><br><span class="line">            .ant-select-selection__choice &#123;</span><br><span class="line">              margin-top: 0;</span><br><span class="line">            &#125;</span><br><span class="line">          &#125;</span><br><span class="line">        &#125;</span><br><span class="line">      &#125;</span><br><span class="line">    &#125;</span><br><span class="line">    .no-margin &#123;</span><br><span class="line">      .ant-form-item &#123;</span><br><span class="line">        padding: 0px !important;</span><br><span class="line">        margin: 0px !important;</span><br><span class="line">      &#125;</span><br><span class="line">    &#125;</span><br><span class="line">    .flex-end &#123;</span><br><span class="line">      align-items: flex-end;</span><br><span class="line">    &#125;</span><br><span class="line">    .el-table &#123;</span><br><span class="line">      width: 320px;</span><br><span class="line">      border: 1px solid #d9d9d9;</span><br><span class="line">      border-radius: 8px;</span><br><span class="line">    &#125;</span><br><span class="line">    .btn-con &#123;</span><br><span class="line">      width: 320px !important;</span><br><span class="line">      padding-bottom: 32px;</span><br><span class="line">      box-sizing: border-box;</span><br><span class="line">      display: inline-flex;</span><br><span class="line">      .btn &#123;</span><br><span class="line">        width: 95px;</span><br><span class="line">        height: 40px;</span><br><span class="line">        text-align: center;</span><br><span class="line">        padding: 0;</span><br><span class="line">      &#125;</span><br><span class="line">      .btn:first-of-type &#123;</span><br><span class="line">        margin-right: 16px;</span><br><span class="line">      &#125;</span><br><span class="line">    &#125;</span><br><span class="line">    .personnel &#123;</span><br><span class="line">      width: 320px;</span><br><span class="line">      height: 200px;</span><br><span class="line">      border: 1px solid #d9d9d9;</span><br><span class="line">      border-radius: 8px;</span><br><span class="line">      overflow-y: scroll;</span><br><span class="line">      padding: 5px;</span><br><span class="line">      box-sizing: border-box;</span><br><span class="line">      .tag &#123;</span><br><span class="line">        padding: 0 5px;</span><br><span class="line">        width: auto;</span><br><span class="line">        height: 30px;</span><br><span class="line">        display: inline-block;</span><br><span class="line">        border-radius: 4px;</span><br><span class="line">        text-align: center;</span><br><span class="line">        line-height: 30px;</span><br><span class="line">        color: #d9d9d9;</span><br><span class="line">        border: 1px solid #d9d9d9;</span><br><span class="line">        margin: 4px;</span><br><span class="line">        cursor: pointer;</span><br><span class="line">      &#125;</span><br><span class="line">      .tag-check &#123;</span><br><span class="line">        color: #1890ff;</span><br><span class="line">        border: 1px solid #1890ff;</span><br><span class="line">      &#125;</span><br><span class="line">    &#125;</span><br><span class="line">    .hint &#123;</span><br><span class="line">      text-align: center;</span><br><span class="line">      margin: 24px 0 0;</span><br><span class="line">      color: #bfbfbf;</span><br><span class="line">      font-size: 12px;</span><br><span class="line">    &#125;</span><br><span class="line">    .input &#123;</span><br><span class="line">      width: 325px !important;</span><br><span class="line">      height: 40px !important;</span><br><span class="line">      .ant-calendar-picker-input &#123;</span><br><span class="line">        height: 40px !important;</span><br><span class="line">      &#125;</span><br><span class="line">      .ant-select-selection--single &#123;</span><br><span class="line">        height: 40px !important;</span><br><span class="line">      &#125;</span><br><span class="line">    &#125;</span><br><span class="line">    .is-center &#123;</span><br><span class="line">      padding: 0px !important;</span><br><span class="line">      height: 31px !important;</span><br><span class="line">      background: #fafafa;</span><br><span class="line">      color: #434343;</span><br><span class="line">    &#125;</span><br><span class="line">    .btn-con &#123;</span><br><span class="line">      text-align: center;</span><br><span class="line">      .cancel &#123;</span><br><span class="line">        margin-right: 24px;</span><br><span class="line">      &#125;</span><br><span class="line">      .cancel,</span><br><span class="line">      .issue &#123;</span><br><span class="line">        width: 148px;</span><br><span class="line">        height: 40px;</span><br><span class="line">      &#125;</span><br><span class="line">    &#125;</span><br><span class="line">    .hint &#123;</span><br><span class="line">      text-align: center;</span><br><span class="line">      margin: 24px 0;</span><br><span class="line">      color: #bfbfbf;</span><br><span class="line">      font-size: 12px;</span><br><span class="line">    &#125;</span><br><span class="line">    .submit-con &#123;</span><br><span class="line">      text-align: center;</span><br><span class="line">      .cancel &#123;</span><br><span class="line">        margin-right: 24px;</span><br><span class="line">      &#125;</span><br><span class="line">      .cancel,</span><br><span class="line">      .issue &#123;</span><br><span class="line">        width: 148px;</span><br><span class="line">        height: 40px;</span><br><span class="line">      &#125;</span><br><span class="line">    &#125;</span><br><span class="line">  &#125;</span><br><span class="line">&#125;</span><br><span class="line">&lt;/style&gt;</span><br><span class="line"></span><br></pre></td></tr></table></figure>


      
    </div>

    
    
    
      <footer class="post-footer">
        <div class="post-eof"></div>
      </footer>
  </article>
  
  
  

      
  
  
  <article itemscope itemtype="http://schema.org/Article" class="post-block" lang="cn">
    <link itemprop="mainEntityOfPage" href="https://everyfloat.gitee.io/every-float-blog/2023/03/27/2023-03-26-Hello-World/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/every-float-blog/images/avatar.gif">
      <meta itemprop="name" content="Every Float">
      <meta itemprop="description" content="">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="every-float-blog">
    </span>
      <header class="post-header">
        <h2 class="post-title" itemprop="name headline">
          
            <a href="/every-float-blog/2023/03/27/2023-03-26-Hello-World/" class="post-title-link" itemprop="url">Hello World</a>
        </h2>

        <div class="post-meta">
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="far fa-calendar"></i>
              </span>
              <span class="post-meta-item-text">Veröffentlicht am</span>
              

              <time title="Erstellt: 2023-03-27 00:14:52 / Geändert am: 00:22:23" itemprop="dateCreated datePublished" datetime="2023-03-27T00:14:52+08:00">2023-03-27</time>
            </span>

          

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">

      
          <p>Welcome to <a target="_blank" rel="noopener" href="https://hexo.io/">Hexo</a>! This is your very first post. Check <a target="_blank" rel="noopener" href="https://hexo.io/docs/">documentation</a> for more info. If you get any problems when using Hexo, you can find the answer in <a target="_blank" rel="noopener" href="https://hexo.io/docs/troubleshooting.html">troubleshooting</a> or you can ask me on <a target="_blank" rel="noopener" href="https://github.com/hexojs/hexo/issues">GitHub</a>.</p>
<h2 id="Quick-Start"><a href="#Quick-Start" class="headerlink" title="Quick Start"></a>Quick Start</h2><h3 id="Create-a-new-post"><a href="#Create-a-new-post" class="headerlink" title="Create a new post"></a>Create a new post</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ hexo new <span class="string">&quot;My New Post&quot;</span></span><br></pre></td></tr></table></figure>

<p>More info: <a target="_blank" rel="noopener" href="https://hexo.io/docs/writing.html">Writing</a></p>
<h3 id="Run-server"><a href="#Run-server" class="headerlink" title="Run server"></a>Run server</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ hexo server</span><br></pre></td></tr></table></figure>

<p>More info: <a target="_blank" rel="noopener" href="https://hexo.io/docs/server.html">Server</a></p>
<h3 id="Generate-static-files"><a href="#Generate-static-files" class="headerlink" title="Generate static files"></a>Generate static files</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ hexo generate</span><br></pre></td></tr></table></figure>

<p>More info: <a target="_blank" rel="noopener" href="https://hexo.io/docs/generating.html">Generating</a></p>
<h3 id="Deploy-to-remote-sites"><a href="#Deploy-to-remote-sites" class="headerlink" title="Deploy to remote sites"></a>Deploy to remote sites</h3><figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">$ hexo deploy</span><br></pre></td></tr></table></figure>

<p>More info: <a target="_blank" rel="noopener" href="https://hexo.io/docs/one-command-deployment.html">Deployment</a></p>

      
    </div>

    
    
    
      <footer class="post-footer">
        <div class="post-eof"></div>
      </footer>
  </article>
  
  
  


  



          </div>
          

<script>
  window.addEventListener('tabs:register', () => {
    let { activeClass } = CONFIG.comments;
    if (CONFIG.comments.storage) {
      activeClass = localStorage.getItem('comments_active') || activeClass;
    }
    if (activeClass) {
      let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);
      if (activeTab) {
        activeTab.click();
      }
    }
  });
  if (CONFIG.comments.storage) {
    window.addEventListener('tabs:click', event => {
      if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;
      let commentClass = event.target.classList[1];
      localStorage.setItem('comments_active', commentClass);
    });
  }
</script>

        </div>
          
  
  <div class="toggle sidebar-toggle">
    <span class="toggle-line toggle-line-first"></span>
    <span class="toggle-line toggle-line-middle"></span>
    <span class="toggle-line toggle-line-last"></span>
  </div>

  <aside class="sidebar">
    <div class="sidebar-inner">

      <ul class="sidebar-nav motion-element">
        <li class="sidebar-nav-toc">
          Inhaltsverzeichnis
        </li>
        <li class="sidebar-nav-overview">
          Übersicht
        </li>
      </ul>

      <!--noindex-->
      <div class="post-toc-wrap sidebar-panel">
      </div>
      <!--/noindex-->

      <div class="site-overview-wrap sidebar-panel">
        <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
  <p class="site-author-name" itemprop="name">Every Float</p>
  <div class="site-description" itemprop="description"></div>
</div>
<div class="site-state-wrap motion-element">
  <nav class="site-state">
      <div class="site-state-item site-state-posts">
          <a href="/every-float-blog/archives/">
        
          <span class="site-state-item-count">2</span>
          <span class="site-state-item-name">Artikel</span>
        </a>
      </div>
  </nav>
</div>



      </div>

    </div>
  </aside>
  <div id="sidebar-dimmer"></div>


      </div>
    </main>

    <footer class="footer">
      <div class="footer-inner">
        

        

<div class="copyright">
  
  &copy; 
  <span itemprop="copyrightYear">2023</span>
  <span class="with-love">
    <i class="fa fa-heart"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">Every Float</span>
</div>
  <div class="powered-by">Erstellt mit  <a href="https://hexo.io/" class="theme-link" rel="noopener" target="_blank">Hexo</a> & <a href="https://muse.theme-next.org/" class="theme-link" rel="noopener" target="_blank">NexT.Muse</a>
  </div>

        








      </div>
    </footer>
  </div>

  
  <script src="/every-float-blog/lib/anime.min.js"></script>
  <script src="/every-float-blog/lib/velocity/velocity.min.js"></script>
  <script src="/every-float-blog/lib/velocity/velocity.ui.min.js"></script>

<script src="/every-float-blog/js/utils.js"></script>

<script src="/every-float-blog/js/motion.js"></script>


<script src="/every-float-blog/js/schemes/muse.js"></script>


<script src="/every-float-blog/js/next-boot.js"></script>




  















  

  

</body>
</html>
